MapperReadKeyValuesRepo

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun contains(k: FromKey): Boolean
open suspend override fun contains(k: FromKey, v: FromValue): Boolean
Link copied to clipboard
open suspend override fun count(): Long
open suspend override fun count(k: FromKey): Long
Link copied to clipboard
open suspend override fun get(    k: FromKey,     pagination: Pagination,     reversed: Boolean): PaginationResult<FromValue>
Link copied to clipboard
open suspend fun getAll(reverseLists: Boolean = false): Map<FromKey, List<FromValue>>

WARNING!!! THIS METHOD PROBABLY IS NOT EFFICIENT, USE WITH CAUTION

open suspend fun getAll(k: FromKey, reversed: Boolean = false): List<FromValue>
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<FromKey>
open suspend override fun keys(    v: FromValue,     pagination: Pagination,     reversed: Boolean): PaginationResult<FromKey>
Link copied to clipboard
open suspend override fun ToKey.toInnerKey(): FromKey
Link copied to clipboard
open suspend override fun ToValue.toInnerValue(): FromValue
Link copied to clipboard
open suspend override fun FromKey.toOutKey(): ToKey
Link copied to clipboard
open suspend override fun FromValue.toOutValue(): ToValue

Properties

Link copied to clipboard
open override val keyMapper: SimpleSuspendableMapper<FromKey, ToKey>
Link copied to clipboard
open override val valueMapper: SimpleSuspendableMapper<FromValue, ToValue>